//
//  FKHomeCoupon.m
//  WanTao
//
//  Created by Macbook Pro on 2019/4/20.
//  Copyright © 2019 Macbook Pro. All rights reserved.
//

#import "FKHomeCoupon.h"

@implementation FKHomeCoupon

- (void)mj_keyValuesDidFinishConvertingToObject
{
    NSString *priceStr = fkFORMAT(@"￥%@", _price);
    _priceStr = [priceStr fk_addAttributeStyle:@"￥" color:fkMainColor font:fk_adjustFont(12)];
    
    _condition = fkFORMAT(@"满%@元可用", _minprice);
    _timeStr = fkFORMAT(@"%@-%@", [_start_time fk_timeWithFormat:@"yyyy.MM.dd"], [_end_time fk_timeWithFormat:@"yyyy.MM.dd"]);
}

@end
